﻿using MediatR;
using RearLivestock.Common.Domains.zjy;
using RearLivestock.Common.Dtos;

namespace RearLivestock.Beginning.Api.Application.Command.BreedingSow
{
    public class SearchBreedingSowCommand : IRequest<Result<PageResultDto<BreedingSowDto>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 耳号(基本信息)
        /// </summary>
        public int BasicInforId { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
